import LiveClass from './liveClass.vue'
import LiveClassExamine from './liveClassExamine.vue'
import LiveClassOpen from './liveClassOpen.vue'
import LiveClassOver from './liveClassOver.vue'
import LiveClassSearch from './liveClassSearch.vue'

const components = [
  LiveClass,
  LiveClassExamine,
  LiveClassOpen,
  LiveClassOver,
  LiveClassSearch
]

const main = {
  install(Vue) {
    components.map((component) => {
      Vue.component(component.name, component)
    })
  }
}

export default main
